package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.reggie.dto.DishDto;
import com.itheima.reggie.entity.Dish;
import com.itheima.reggie.mapper.DishMapper;

public interface DishService extends IService<Dish> {
    //新增菜品，同事插入菜品对应口味数据，操作dish,dish_flavor两张表
    public void saveWithFlavor(DishDto dishDto);
    public DishDto getByIdWithFlavor(Long id);
    //更新菜品和口味信息
    void updateWithFlavor(DishDto dishDto);
}
